
<!--//=========================<script réalisé par :BOUFTIH FADWA>=================== -->

<?php
  session_start();
  include("_config.inc.php");
  include("connectBD.php");
  include('configuration.php');
  require_once("beans/planningBean.php");
 require_once("dao/planningDao.php");



  extract($_POST);

        connectBD('nomade');
        $req="select designation from tache t,tacheplannifiee tf where tf.id_tache=t.idTache";
        $result=execRequete($req);
        while($row = mysql_fetch_row($result)) {
        $tabdesignation[] = $row[0];
         }

        if(isset($tache)){
          $_SESSION['tache']=$tache;

        }

     $title="Planning";
     $page="home";
     $tpl->assign('title',$title);
     $tpl->assign('page',$page); 
     $tpl->assign('tabdesignation',$tabdesignation);
     $tpl->display("planning.html");


?>




